package com.zwj.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 张文接
 * @version 1.0
 * @createTime 2024/7/26 09:58
 */
@Data
@Component
@ConfigurationProperties(prefix = "hm.cart")
public class CartProperties {
    /**
     * 购物车最大数量
     */
    private Integer maxAmount;
}
